package com.deer.wms.base.system.model;

import com.deer.wms.project.root.model.BaseEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Table;

/**
 * zds
 */
@Getter
@Setter
@NoArgsConstructor
@Table(name = "purchase_order")
public class PurchaseOrder extends BaseEntity {

    private static final long serialVersionUID = 7127203556353135910L;
    private Integer orderId; //单据主键
    private Integer billTypeId; //单据类型ID
    private String billTypeName; //单据类型
    private String billNo; //单据编号
    private String billDate; //单据日期
    private Integer billStatus; //工业单据状态 0 - 草稿 1 - 已审核，未关联 2 - 已审批，部分关联 3 - 已审批，全部关联 生产任务单据状态 0 - 计划 5 - 确认 1 - 下达 3 - 结案 BOS单据状态 2 - 未审核 4 - 审核中 16 - 已审核
    private Boolean billClosed; //关闭状态
    private Integer supplierId; //供应商ID
    private String supplierName; //供应商名称
    private Integer customerId; //客户ID
    private String customerName; //客户名称
    private Integer deptId; //部门ID
    private String deptName; //部门名称
    private String remark; //备注
}
